package com.heima.hello.service.impl;

import com.heima.hello.config.EmailConfig;
import com.heima.hello.service.EmailService;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.stereotype.Service;

@Service
public class EmailServiceImpl implements EmailService {
    @Autowired
    private EmailConfig emailConfig;


    @Override
    public String send(String title, String context, String to) {
        return emailConfig.toString();
    }
}
